<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0," name="viewport">
<meta content="user-scalable=no" name="viewport">
<title>至富通</title>
<script src="http://__JS__/jquery.js"></script>
<script src="http://__THEMES__/js/aui.js"></script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>  
                           
<link href="http://__CSS__/my-style.css" rel="stylesheet" type="text/css">
<link rel="icon" href="http://__IMG__/favicon.ico">
</head>
<style>
.wo{}
.wo span:hover{ color:white;}
</style>
<body style="background:#ededed;"><br>
<!--上面的logo-->
<a><div><img src="http://__IMG__/gril.png" style="width:100%;"></div></a>
<div class="wo" style="background:#FFF; border-radius:15px; height:350px; margin-left:10px; margin-right:10px;"><br>
<p style="color:#7a7878; font-size:35px; text-align:center; margin-top:-3px; margin-bottom:-3px;">=</p>
<p style="color:black; font-size:45px; text-align:center; margin-top:5px;">-支付已完成-</p>
 <p style="color:#7a7878; font-size:35px; text-align:center; margin-top:15px;">感谢您对至富通的支持，欢迎再次光临。</p>
 <p id="bse" style="font-size:35px; text-align:center; margin-top:8px;">如果您消费10元以上，现金红包稍后将发到公众号里。</p>
 <a href="__URL__ShowController/showStore">
 <p style="color:black; font-size:40px; text-align:center; margin-top:15px;"><span style="background:#91b6f1; border-radius:8px;;">返回首页</span></p>
 </a>
</div>
<script>
var i = 0;
function getColor(){
i++;
switch(i){ 
case 1:return "#ff0000";
case 2:return "#ff6600";
case 3:return "#3366cc";
default:return "black";
}
}
function colorful(){
var o =document.getElementById('bse');
o.style.color=getColor();
if(i==3)i=0;
setTimeout('colorful()',500);
}
colorful();
6
</script>
<script>
  var t=1;//设定跳转的时间
  setInterval("refer()",1000); //启动1秒定时
 function refer(){
 if(t==0){
	 wx.closeWindow();
 location="__URL__ShowController/showStore"; //#设定跳转的链接地址
 }
 document.getElementById('show').innerHTML="<font size='200' color='blue'>"+t+"秒后为您跳转到首页"+"</font>"; // 显示倒计时
 t--; // 计数器递减：
 }
 </script>
  <script type="text/javascript">
history.pushState(null, null, location.href);
window.addEventListener('popstate', function(event) {
    history.pushState(null, null, location.href );
    //此处加入回退时你要执行的代码
    wx.closeWindow();
}); 
</script>
 <span id="show"></span>
</div>
</body>
</html>